<?php $this->renderPartial('_tabs'); ?>
<div class="grid_16">
    <div class="admin-agency form">
		<?php
		$form = $this->beginWidget('CActiveForm', array(
			'id' => 'admin-agency-commissions-form',
			'enableAjaxValidation' => false,
			'htmlOptions' => array()
		));
		?>
        <div class="section">
			<div class="block">
				<table class="form-table">
					<tr>
						<th scope="row" width="120">
							<label>Date Collected is set</label>
						</th>
						<td>
							<?php
							echo CHtml::dropDownList('AgencySetting[Commission][AutosetIssuedDate]', $agency->settings['Commission']['AutosetIssuedDate'], array(
								0 => 'Manually',
								1 => 'Automatically on creation',
							));
							?>
						</td>
					</tr>
				</table>
				<table class="form-table">
					<th>
						<button type="submit" class="link-button round_all no-margin">
							<span>Save Changes</span>
						</button>
					</th>
				</table>
			</div>
        </div>
		<?php $this->endWidget(); ?>
    </div>
</div>